﻿using System.ComponentModel.DataAnnotations;

namespace Admin.NET.Application;

    /// <summary>
    /// 案例内容基础输入参数
    /// </summary>
    public class car_case_detailsBaseInput
    {
        /// <summary>
        /// 案例id
        /// </summary>
        public virtual long caseId { get; set; }
        
        /// <summary>
        /// 地址
        /// </summary>
        public virtual string url { get; set; }
        
        /// <summary>
        /// 内容描述
        /// </summary>
        public virtual string des { get; set; }
        
        /// <summary>
        /// 类型
        /// </summary>
        public virtual int type { get; set; }
        
    }

    /// <summary>
    /// 案例内容分页查询输入参数
    /// </summary>
    public class car_case_detailsInput : BasePageInput
    {
        /// <summary>
        /// 案例id
        /// </summary>
        public long caseId { get; set; }
        
        /// <summary>
        /// 地址
        /// </summary>
        public string url { get; set; }
        
        /// <summary>
        /// 内容描述
        /// </summary>
        public string des { get; set; }
        
        /// <summary>
        /// 类型
        /// </summary>
        public int type { get; set; }
        
    }

    /// <summary>
    /// 案例内容增加输入参数
    /// </summary>
    public class Addcar_case_detailsInput : car_case_detailsBaseInput
    {
    }

    /// <summary>
    /// 案例内容删除输入参数
    /// </summary>
    public class Deletecar_case_detailsInput : BaseIdInput
    {
    }

    /// <summary>
    /// 案例内容更新输入参数
    /// </summary>
    public class Updatecar_case_detailsInput : car_case_detailsBaseInput
    {
        /// <summary>
        /// Id
        /// </summary>
        [Required(ErrorMessage = "Id不能为空")]
        public long Id { get; set; }
        
    }

    /// <summary>
    /// 案例内容主键查询输入参数
    /// </summary>
    public class QueryByIdcar_case_detailsInput : Deletecar_case_detailsInput
    {

    }
